<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="styles/common.css">
    <!-- 自定义样式 -->
    <link rel="stylesheet" href="styles/vip-setting.css">
    <!-- jquery -->
    <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
    <title>账户设置</title>
</head>
<script type="text/javascript">
    ! function(e, t) { var n = t.documentElement,
    d = e.devicePixelRatio || 1;
    function i() { var e = n.clientWidth / 3.75;
        n.style.fontSize = e + "px" } if (function e() { t.body ? t.body.style.fontSize = "16px" : t.addEventListener("DOMContentLoaded", e) }(), i(), e.addEventListener("resize", i), 
        e.addEventListener("pageshow", function(e) { e.persisted && i() }), d >= 2) { var o = t.createElement("body"),
        a = t.createElement("div");
        a.style.border = ".5px solid transparent", o.appendChild(a), n.appendChild(o), 1 === a.offsetHeight && n.classList.add("hairlines"), n.removeChild(o) } }(window, document)
</script>
<body>
    <div class="header">
        <span class="header-title">账户设置</span>
        <img src="images/back.png" alt="返回">
    </div>
    <div class="main">
        <div class="main-item">
            <div class="item-title"><span>分享账号</span></div>
            <ul>
                <li>
                    <div class="li-left"><span>微信</span></div>
                    <div class="li-right">
                        <span class="username">XU1245</span>
                        <span class="untied">解绑</span>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
                <li>
                    <div class="li-left"><span>QQ</span></div>
                    <div class="li-right">
                        <span class="username">785468745</span>
                        <span class="untied">解绑</span>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
                <li>
                    <div class="li-left"><span>微博</span></div>
                    <div class="li-right">
                        <span class="has-not-tied">未绑定</span>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
            </ul>
        </div>
        <div class="main-item">
            <div class="item-title"><span>安全设置</span></div>
            <ul>
                <li>
                    <div class="li-left"><span>密码设置</span></div>
                    <div class="li-right">
                        <span class="untied">重置</span>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
                <li>
                    <div class="li-left"><span>绑定手机</span></div>
                    <div class="li-right">
                        <span class="username">13714061435</span>
                        <span class="untied">解绑</span>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
                <li>
                    <div class="li-left"><span>联系邮箱</span></div>
                    <div class="li-right">
                        <span class="has-not-tied">未绑定</span>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
                <li>
                    <div class="li-left"><span>联系QQ</span></div>
                    <div class="li-right">
                        <span class="has-not-tied">未绑定</span>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
            </ul>
        </div>
        <div class="main-item">
            <div class="item-title"><span>消息设置</span></div>
            <ul>
                <li>
                    <div class="li-left"><span>日历通知</span></div>
                    <div class="li-right switch">
                        <div class="out"><div class="in open"></div></div>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
                <li>
                    <div class="li-left"><span>活动通知</span></div>
                    <div class="li-right switch">
                        <div class="out"><div class="in close"></div></div>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
                <li>
                    <div class="li-left"><span>福利通知</span></div>
                    <div class="li-right switch">
                        <div class="out"><div class="in open"></div></div>
                    </div>
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>
                </li>
            </ul>
        </div>
        <div class="main-item main-us">
            <ul>
                <li>
                    <span>联系我们</span>
                </li>
                <li>
                   <span>关于我们</span>
                </li>
            </ul>
        </div>
        <div class="loginout-btn">
            <button onfocus="this.blur()">退出登录</button>
        </div>
    </div>
    <!-- 遮罩 -->
    <div class="mask"></div>
    <!-- 弹出层 -->
    <div class="box">
        <div class="box-tips">
            <p>解绑后不再能使用微信登录， 确认解绑吗？</p>
        </div>
        <div class="box-btns">
            <button class="btn-cancel">再考虑下</button>
            <button class="btn-sure">确定想好了</button>
            <!-- 清除浮动 -->
            <div class="clearfix"></div>
        </div>
    </div>
</body>
<script type="text/javascript">
    $(function() {
        // 解绑弹窗
        $(".untied").click(function() {
            $(".mask").fadeIn(300);
            $(".box").fadeIn(500);
        })
        $(".btn-cancel").click(function() {
            $(".mask").fadeOut(500);
            $(".box").fadeOut(300);
        })
        // 通知开关
        $(".in").click(function() {
            if($(this).hasClass("open")) {
                $(this).removeClass("open");
                $(this).addClass("close");
            } else if($(this).hasClass("close")) {
                $(this).removeClass("close");
                $(this).addClass("open");
            }
        });
    });
</script>
</html>